package com.dlut.txy.designpattern.schedule.taskunit.impl;

import com.dlut.txy.designpattern.schedule.task.TaskStatus;
import com.dlut.txy.designpattern.schedule.taskunit.TaskUnit;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ThreadTaskUnit extends TaskUnit {
    private volatile TaskStatus status;
    private Thread curThread;
}
